You are here: Symbol Reference > Dew Namespace > Dew.Stats Namespace > Dew.Stats.Units Namespace > Classes > StatControlCharts Class > StatControlCharts Methods > StatControlCharts.QCRChart Method
Dew Stats for .NET
ContentsIndexHome
PreviousUpNext
StatControlCharts.QCRChart Method

R-Chart.

Syntax
C#
Visual Basic
public static void QCRChart([In] TMtx Data, [In] TVec DrawVec, out double CL, out double UCL, out double LCL, double Confidence);
Parameters 
Description 
[In] TMtx Data 
Each Data row contains replicated observation taken at specific time. 
[In] TVec DrawVec 
Returns values to be drawn. 
out double CL 
Returns control Chart centerline. 
out double UCL 
Returns control Chart upper control limit. 
out double LCL 
Returns control Chart lower control limit. 
double Confidence 
Confidence level for upper and lower control limit. Confidence must lie in the (0,1) interval. 

Calculates R-Chart drawing values, center line, upper and lower control limit.

The following code will create R chart:

using Dew.Math; using Dew.Math.Units; using Dew.Stats.Units; namespace Dew.Examples { private void Example() { Matrix Data = new Matrix(0,0); Vector DrawVec = new Vector(0); double cl,ucl,lcl; Data.LoadFromFile("data.mtx"); StatControlCharts.QCRChart(Data,DrawVec,out cl, out ucl, out lcl, 0.025); } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!